package com.zj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zj.common.Result;
import com.zj.entity.Goods;
import com.zj.entity.Orders;
import com.zj.entity.UserInfo;

public interface OrderService extends IService<Orders> {
     Result createOrderByExchange(UserInfo userInfo, Goods getGoods,Goods pushGoods);
     Result createOrderByBuy(UserInfo userInfo, Goods goods);
     Result finishOrder(UserInfo userInfo, Goods goods);
     Result cancelOrder(UserInfo userInfo, Goods goods);
}
